package com.cr.front.user.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;
import java.util.List;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class UserDetailVO {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户昵称")
    String nickname;
    @ApiModelProperty("头像地址")
    String avatar;
    @ApiModelProperty("性别（0男，1女，2未知）")
    Integer gender;
    @ApiModelProperty("用户邮箱")
    String email;
    @ApiModelProperty("状态（0正常，1停用）")
    Integer status;
    @ApiModelProperty("用户生日")
    Date birthday;
    @ApiModelProperty("手机号码")
    String phoneNum;
    @ApiModelProperty("角色id列表")
    private List<Long> roleIds;
    @ApiModelProperty("最后登录IP")
    private String loginIp;
    @ApiModelProperty("最后登录时间")
    private Date loginTime;

}
